package praktikumid.p07_e;

public class Bus extends Vehicle {
	public int wheels;
	public int seats;
	
	public int getWheels() {
		return wheels;
	}

	public void setWheels(int wheels) {
		this.wheels = wheels;
	}

	public int getSeats() {
		return seats;
	}

	public void setSeats(int seats) {
		this.seats = seats;
	}

	public int getLineNumber() {
		return lineNumber;
	}

	public void setLineNumber(int lineNumber) {
		this.lineNumber = lineNumber;
	}

	private int lineNumber;
	
	public void drive2() {
		System.out.println("bus drives");
	}

	@Override
	public void drive() {
		System.out.println("bus drives");
		
	}
}
